<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>Example</title>
</head>

<body>
    <script type="text/javascript">
    function myFunc(name) {
        return ("Hello " + name + ".");
    };
    document.writeln(myFunc("Adam"));
    </script>
</body>

</html>
